package com.my12306.train.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.my12306.common.model.vo.PageVo;
import com.my12306.common.util.PageUtils;
import com.my12306.common.util.response.ResponseData;
import com.my12306.train.model.entity.MemberEntity;
import com.my12306.train.model.entity.OrderEntity;

import java.util.List;

/**
 * 用户信息
 *
 * @author mifen¦
 * @email
 * @date 2020-08-24 20:58:07
 */
public interface MemberService extends IService<MemberEntity> {
    /**
     * 分页查询用户
     *
     * @param pageVo
     * @return
     */
    PageUtils queryMemberPage(PageVo pageVo);

    /**
     * 分页查询的总数
     *
     * @param pageVo
     * @param logicDelete
     * @return
     */
    Integer queryMemberCount(PageVo pageVo, int logicDelete);

    /**
     * 批量删除用户
     *
     * @param memberIds
     * @return
     */
    ResponseData deleteMemberBatchByIds(List<Long> memberIds);

    /**
     * 修改会员信息
     *
     * @param memberEntity
     */
    void updateMemberById(MemberEntity memberEntity);
}

